package cn.qh.seasonal.dto;

import java.util.Date;


import java.io.Serializable;

import lombok.*;

import java.util.Date;

import io.swagger.annotations.ApiModel;
import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

/**
 * (Factoryseasonality)表实体类
 *
 * @author makejava
 * @since 2021-11-02 08:46:24
 */
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel
@SuppressWarnings("serial")
public class FactoryseasonalityDTO implements Serializable {
    /**
     * 主键
     */
    @ApiModelProperty(name = "id", value =
            "主键", dataType = "java.lang.Integer")
    private Integer id;
    /**
     * 时令名字
     */
    @ApiModelProperty(name = "seasonalId", value =
            "时令名字")
    private int seasonalId;
    /**
     * 开始时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(name = "startTime", value =
            "开始时间", dataType = "java.util.Date")
    private Date startTime;
    /**
     * 结束时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(name = "endTime", value =
            "结束时间", dataType = "java.util.Date")
    private Date endTime;
    /**
     * 工厂模型
     */
    @ApiModelProperty(name = "factoryId", value =
            "工厂模型", dataType = "java.lang.Integer")
    private Integer factoryId;
    /**
     * 0未启用1已启用
     */
    @ApiModelProperty(name = "status", value =
            "0未启用1已启用", dataType = "java.lang.String")
    private String status;
    /**
     * 新增时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(name = "createdTime", value =
            "新增时间", dataType = "java.util.Date")
    private Date createdTime;
    /**
     * 修改时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(name = "updatedTime", value =
            "修改时间", dataType = "java.util.Date")
    private Date updatedTime;
    /**
     * 版本
     */
    @ApiModelProperty(name = "version", value =
            "版本", dataType = "java.lang.String")
    private String version;
    /**0是未删除1是已删除*/
}

